repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git]
/
11675 - Happy friends
/
in.txt
blob
18ab3118bb2e294964223e624b1a390696f8b001
1
100
2
3
2 1 0 0
4
0 1
5
6
4 3 0 3
7
0 1
8
1 2
9
2 3
10
11
4 3 0 2
12
0 1
13
0 3
14
1 2
15
16
4 3 0 0
17
0 1
18
1 2
19
2 3
20
21
4 3 0 1
22
0 1
23
1 2
24
2 3
25
26
4 3 0 2
27
0 1
28
1 2
29
2 3
30
31
4 3 0 3
32
0 1
33
1 2
34
2 3
35
36
4 3 0 4
37
0 1
38
1 2
39
2 3
40
41
4 3 0 1000000000
42
0 1
43
1 2
44
2 3
45